{extend name="public/base"/}
{block name="style"}
<link rel="stylesheet" href="__PUBLIC__/css/order.css">
<style>
    #product-more-btn {top: 30px;line-height: 30px;}
    #product-more-btn button { width: 100%;}
    .carousel-img{cursor:pointer;}
</style>
{/block}
{block name="content"}
<!--
    <h1>商业旗舰版功能。。。</h1>
-->
    <div class="layui-row layui-col-space15">
        <div class="layui-col-md12 Order">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-tab">
                        <div class="layui-tab-content">
                            <div class="layui-tab-item screen-box">
                                <div class="layui-form-item channel product-select">
                                    <label class="layui-form-label">商品状态</label>
                                    <div class="layui-input-block">
                                        <ul>
                                            <li item="product_status="><a class="active">全部</a></li>
                   
                                            <li item="status=1"><a>测试</a></li>
                                          
                                        </ul>
                                    </div>
                                </div>
                                <div class="layui-form-item channel product-select">
                                    <label class="layui-form-label">录入时间</label>
                                    <div class="layui-input-block">
                                        <ul>
                                            <li item="create_date="><a class="active">全部</a></li>
                                          
                                            <li item="create_date=2024-05-07"><a>2024-05-07</a></li>
                                         
                                        </ul>
                                    </div>
                                </div>
                                <div class="layui-form-item channel product-select">
                                    <label class="layui-form-label">排序方式</label>
                                    <div class="layui-input-block">
                                        <ul>
                                            <li item="sort="><a class="active">默认</a></li>
                                         
                                            <li item="sort=1"><a>1</a></li>
                                            <li item="sort=2"><a>2</a></li>
                                            
                                        </ul>
                                    </div>
                                </div>
                                <div class="layui-form-item">
                                    <label class="layui-form-label">商品录入时间</label>
                                    <div class="layui-input-inline" style="width: 220px;">
                                        <input class="layui-input laydate-range" id="start_date" autocomplete="off" name="date" placeholder="录入时间">
                                    </div>
                                    <button type="button" class="layui-btn layui-btn layui-btn-normal search-btn"><i
                                            class="layui-icon layui-icon-search"></i></button>
                                </div>
                            </div>
                            <div class="layui-tab-item layui-show">
                                <form class="layui-form">
                                    <div class="layui-col-md1 layui-row">
                                        <select id="select_product" lay-search lay-filter="select_product">
                                            
                                            <option value="101">测试商品</option>
                                            
                                        </select>
                                    </div>
                                    <div class="layui-col-md2 layui-row">
                                        <input id="product_name" autofocus="autofocus" placeholder="按回车搜索" class="layui-input"/>
                                    </div>
                                    <div class="layui-col-md2 layui-row">
                                        <div class="layui-input-block" style="margin: 0px;">
                                            <div id="product-category"></div>
                                            <!--<input type="text" id="product-category" name="category_id" class="layui-input">-->
                                        </div>
                                    </div>
                                    <div class="layui-col-md2 layui-row">
                                        <a class="layui-btn layui-btn-normal product-select-down"><span>更多</span>&nbsp;&nbsp;<i
                                                class="fa fa-angle-double-down" aria-hidden="true"></i></a>
                                    </div>
                                    
                                </form>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <div class="layui-col-md12">
            <div class="layui-card">
                <div class="layui-card-body">
                    <div class="layui-btn-group">
                        <button type="button" id="remove-all" class="layui-btn layui-btn-sm layui-btn-normal"><i
                                class="layui-icon layui-icon-delete"></i>批量删除
                        </button>
                        <a href="/attachment/template/product-template.xlsx?v=1"
                           class="layui-btn layui-btn-sm layui-btn-normal"><i
                                class="layui-icon layui-icon-download-circle"></i>下载模板</a>
                        <button type="button" id="import-product" class="layui-btn layui-btn-sm layui-btn-normal"><i
                                class="layui-icon layui-icon-upload-drag"></i>导入商品
                        </button>
                        <button type="button" id="export-product" class="layui-btn layui-btn-sm layui-btn-normal"><i
                                class="layui-icon layui-icon-export"></i>导出商品
                        </button>
                        <button type="button" id="add-product" class="layui-btn layui-btn-sm layui-btn-normal"><i
                                class="layui-icon layui-icon-add-circle"></i>录入商品
                        </button>
                        <ul class="layui-nav layui-bg-green btnz"
                            style="font-size: 12px;border-radius: 0px;float: right;padding:0px;margin-left: 2px;">
                            <li class="layui-nav-item" style="line-height: 30px;font-size: 12px;">
                                <a class="layui-btn layui-btn-sm layui-btn-normal"
                                   style="color:white;font-size: 12px;padding: 0px 30px 0px 20px;">更多<span
                                        class="layui-nav-more" style="right: 10px;font-size: 12px;"></span></a>
                                <dl class="layui-nav-child" id="product-more-btn"> <!-- 二级菜单 -->
                                    <dd>
                                        <button type="button" id="batch-move-category"
                                                class="layui-btn layui-btn-sm layui-btn-normal">移动分类
                                        </button>
                                    </dd>
                                    <dd>
                                        <button type="button" id="batch-edit-status"
                                                class="layui-btn layui-btn-sm layui-btn-normal">修改状态
                                        </button>
                                    </dd>
                                    <dd>
                                        <button type="button" id="batch-platform-sku"
                                                class="layui-btn layui-btn-sm layui-btn-normal">生成平台SKU
                                        </button>
                                    </dd>
                                    <dd>
                                        <button type="button" id="batch-remark"
                                                class="layui-btn layui-btn-sm layui-btn-normal">批量备注
                                        </button>
                                    </dd>
                                </dl>
                            </li>
                        </ul>
                    </div>
                    <table class="layui-hide" id="commodity" lay-filter="commodity"></table>
                </div>
            </div>
        </div>
    </div>
{/block}
